//
//  TouchScrollView.h
//  States and Capitals
//
//  Created by Ward Fred on 11/9/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MapView.h"


@interface TouchScrollView : UIScrollView {
	UITouch *startTouch;
	NSDictionary *states;
	BOOL isQuizMode;
	BOOL shouldRotate;
	Boolean isCapitals, isPostal;
	NSMutableArray *statesForQuiz;
	UILabel *quizLabel;
	MapView *mapView;
	NSArray *currentStateData;
	UITextField *myCapitalTextField, *myPostalTextField;
	UIButton *backButton;

}
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
- (int)getRedColorAtPoint:(CGPoint)point;
-(id)initWithFrame:(CGRect)frame chosenStates:(NSMutableArray *)s;


@property (retain) UITouch *startTouch;

@property (retain) NSDictionary *states;
@property (retain) NSMutableArray *statesForQuiz;
@property BOOL isQuizMode;
@property BOOL shouldRotate;
@property (retain) UIButton *backButton;
@property (retain) UILabel *quizLabel;
@property (retain) MapView *mapView;
@property (retain) NSArray *currentStateData;
@property Boolean isCapitals, isPostal;
@property (nonatomic, retain) UITextField *myCapitalTextField, *myPostalTextField;
@end
